.class Lcom/waiqin365/base/triallogin/g;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method private constructor <init>(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/g;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method synthetic constructor <init>(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;Lcom/waiqin365/base/triallogin/c;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/triallogin/g;-><init>(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)V

    return-void
.end method


# virtual methods
.method public dispatchMessage(Landroid/os/Message;)V
    .locals 6

    const v5, 0x7f0c0066

    const v4, 0x7f08013b

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/g;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->a()V

    iget v1, p1, Landroid/os/Message;->what:I

    sparse-switch v1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/base/triallogin/b/a/f;

    if-eqz v1, :cond_0

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/base/triallogin/b/a/f;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    iget-object v1, v1, Lcom/waiqin365/base/triallogin/b/a/f;->c:Ljava/lang/String;

    if-eqz v1, :cond_2

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_3

    :cond_2
    invoke-virtual {v0, v4}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    :cond_3
    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_4
    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/base/triallogin/b/a/f;->d:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    new-instance v1, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    sget v3, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v4, Lcom/waiqin365/base/triallogin/h;

    invoke-direct {v4, p0, v0}, Lcom/waiqin365/base/triallogin/h;-><init>(Lcom/waiqin365/base/triallogin/g;Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)V

    invoke-direct {v1, v0, v2, v3, v4}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v0, v1}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->a(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->j(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v1

    const-string/jumbo v2, "#ff9008"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v1, v2, v5}, Lcom/waiqin365/compons/view/c;->a(II)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->j(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v1

    const v2, 0x7f0802c5

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v5}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->j(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v1

    const v2, 0x7f08005f

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v3, 0x7f0c0064

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f0807f2

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->h(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/base/view/PhoneNumEditText;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/base/view/PhoneNumEditText;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v2, 0x7f0807f3

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->j(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->j(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_5
    iget-object v2, v1, Lcom/waiqin365/base/triallogin/b/a/f;->e:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_6

    const-string/jumbo v2, "trial_clueid"

    iget-object v3, v1, Lcom/waiqin365/base/triallogin/b/a/f;->e:Ljava/lang/String;

    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    :cond_6
    const-string/jumbo v2, "1"

    iget-object v1, v1, Lcom/waiqin365/base/triallogin/b/a/f;->f:Ljava/lang/String;

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_7

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->k(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)V

    goto/16 :goto_0

    :cond_7
    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->l(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)V

    goto/16 :goto_0

    :sswitch_1
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/base/triallogin/b/a/g;

    if-eqz v1, :cond_0

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/base/triallogin/b/a/g;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_a

    iget-object v1, v1, Lcom/waiqin365/base/triallogin/b/a/g;->c:Ljava/lang/String;

    if-eqz v1, :cond_8

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_9

    :cond_8
    invoke-virtual {v0, v4}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    :cond_9
    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_a
    iget-object v2, v1, Lcom/waiqin365/base/triallogin/b/a/g;->d:Ljava/util/ArrayList;

    if-eqz v2, :cond_0

    iget-object v2, v1, Lcom/waiqin365/base/triallogin/b/a/g;->d:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_0

    invoke-static {v0, v1}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->a(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;Lcom/waiqin365/base/triallogin/b/a/g;)Lcom/waiqin365/base/triallogin/b/a/g;

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->e(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v1

    const v2, 0x7f0807f4

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->e(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v1

    const v2, 0x7f0807f9

    invoke-virtual {v0, v2}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const v3, 0x7f0c0067

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;->e(Lcom/waiqin365/base/triallogin/TrialCheckPhoneActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x1 -> :sswitch_0
        0x5 -> :sswitch_1
    .end sparse-switch
.end method
